
<ion-tabs preloadTabs="false" (ionChange)="onTabChange($event)">
  <ion-tab tabTitle="Recents" tabIcon="call" root="Tab1Page1" swipeBackEnabled="true"></ion-tab>
  <ion-tab tabTitle="Favorites" tabIcon="star" root="Tab2Page1" tabsHideOnSubPages="false"></ion-tab>
  <ion-tab tabTitle="Settings" tabIcon="settings" root="Tab3Page1"></ion-tab>
  <ion-tab tabTitle="Chat" tabIcon="chatbubbles" (ionSelect)="chat()" [show]="showTab"></ion-tab>
</ion-tabs>
